/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.casemain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 描述: 简易案件详情表（宽表） case_main_detail_simple_info 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年06月14日
 */
@Data
@Table(name = "upcase.case_main_detail_simple_info")
public class CaseMainDetailSimpleInfo implements Serializable {
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 案发时间
     */
    @Column(name = "case_happen_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime caseHappenTime;

    /**
     * 案发地址：经纬度
     */
    @Column(name = "case_happen_address_latitude_and_longitude")
    private String addressLatLongitude;

    /**
     * 案发地详细地址
     */
    @Column(name = "case_happen_address_detail")
    private String caseHappenAddressDetail;

    /**
     * 反映内容
     */
    @Column(name = "case_reaction_content")
    private String caseReactionContent;

    /**
     * 备注
     */
    @Column(name = "case_remark")
    private String caseRemark;

    /**
     * 案由
     */
    @Column(name = "case_reason")
    private String caseReason;

    /**
     * 违法事实
     */
    @Column(name = "illegal_fact")
    private String illegalFact;

    /**
     * 拟处罚内容
     */
    @Column(name = "punish_kinds")
    private String punishKinds;

    /**
     * 拟处罚金额
     */
    @Column(name = "draft_punish_money")
    private String draftPunishMoney;

    /**
     * 缴款方式 (1:自行缴纳2:当场缴纳)
     */
    @Column(name = "pay_way")
    private String payWay;

    /**
     * 整改方式(1:立即整改2:限期整改3:其他)
     */
    @Column(name = "correct_way")
    private String correctWay;

    /**
     * 整改截止日期
     */
    @Column(name = "correct_end_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH",timezone = "GMT+8")
    private LocalDateTime correctEndDate;

    /**
     * 其他整改方式说明
     */
    @Column(name = "correct_other_content")
    private String correctOtherContent;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 最新更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 案件内容
     */
    @Column(name = "case_content")
    private String caseContent;

    /**
     * 执行方式
     */
    @Column(name = "execute_way")
    private String executeWay;

    /**
     * 处罚决定书文号
     */
    @Column(name = "punish_document_number")
    private String punishDocumentNumber;
    /**
     * 执行情况描述
     */
    @Column(name = "execute_condition_desc")
    private String executeConditionDesc;
    /**
     * 执行完毕时间
     */
    @Column(name = "execute_finish_date")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate executeFinishDate;
    /**
     * 撤销原因CODE
     */
    @Column(name = "recall_reason_code")
    private String recallReasonCode;
    /**
     * 撤销原因描述
     */
    @Column(name = "recall_reason_desc")
    private String recallReasonDesc;
    /**
     * 未签字原因
     */
    @Column(name = "not_sign_reason")
    private String notSignReason;
    /**
     * 未签字原因补充原因
     */
    @Column(name = "not_sign_reason_replenish")
    private String  notSignReasonReplenish;
    /**
     * 是否轻微违法 1:是 2:否
     */
    @Column(name = "is_slight_illegal")
    private String isSlightIllegal;
    /**
     * 处罚结论 1:予以处罚,2:不予处罚
     */
    @Column(name = "invest_conclusion")
    private String investConclusion;
    /**
     * 不予处罚原因
     */
    @Column(name = "not_give_punish_reason")
    private String notGivePunishReason;
    /**
     * 是否工商专项(0-否/1-是)
     */
    @Column(name = "is_industrial_trade_special")
    private String isIndustrialTradeSpecial;

    /**
     * 公安委托执法-记分
     */
    @Column(name = "license_score")
    private String licenseScore;

    /**
     * 交通方式
     */
    @Column(name = "traffic_way")
    private String trafficWay;

    /**
     * 驾驶证编号
     */
    @Column(name = "license_number")
    private String licenseNumber;

    /**
     * 驾驶证档案编号
     */
    @Column(name = "license_file_number")
    private String licenseFileNumber;

    /**
     * 准驾车型
     */
    @Column(name = "allow_car_type")
    private String allowCarType;

    /**
     * 车牌省份
     */
    @Column(name = "license_plate_province")
    private String licensePlateProvince;

    /**
     * 车牌号码
     */
    @Column(name = "license_plate_number")
    private String licensePlateNumber;

    /**
     * 车辆类型
     */
    @Column(name = "car_type")
    private String carType;

    /**
     * 发证机关
     */
    @Column(name = "licence_department")
    private String licenceDepartment;

    /**
     * 没收违法财物
     */
    @Column(name = "confiscate_property")
    private String confiscateProperty;

    /**
     * 没收违法财物价值
     */
    @Column(name = "confiscate_property_amount")
    private BigDecimal confiscatePropertyAmount;

    /**
     * 没收违法所得
     */
    @Column(name = "confiscate_gains_amount")
    private BigDecimal confiscateGainsAmount;

    private static final long serialVersionUID = 1L;

}
